﻿using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[XmlInclude(typeof(TimerEventDefinition))]
[XmlInclude(typeof(TerminateEventDefinition))]
[XmlInclude(typeof(SignalEventDefinition))]
[XmlInclude(typeof(MessageEventDefinition))]
[XmlInclude(typeof(LinkEventDefinition))]
[XmlInclude(typeof(EscalationEventDefinition))]
[XmlInclude(typeof(ErrorEventDefinition))]
[XmlInclude(typeof(ConditionalEventDefinition))]
[XmlInclude(typeof(CompensateEventDefinition))]
[XmlInclude(typeof(CancelEventDefinition))]
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tEventDefinition")]
[XmlRoot("eventDefinition", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public abstract partial class EventDefinition : RootElement
{
}
